WooCommerce\Square\Framework\Admin_Message_Handler S

Total Complexity 44
Dependencies 0
Dependents 1
Total lines 367
Lines of code 117
Logical lines of code 56
Comment lines 163
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
show_messages()
S
50 7 28
load_messages()
S
62 7 10
set_messages()
S
57 5 16
get_message_id()
S
75 2 4
get_error()
S
78 2 3
redirect()
S
70 2 6
get_message()
S
78 2 3
get_info()
S
78 2 3
get_warning()
S
78 2 3
get_messages()
S
82 1 3
get_infos()
S
82 1 3
get_warnings()
S
82 1 3
__construct()
S
72 1 5
message_count()
S
80 1 3
info_count()
S
80 1 3
warning_count()
S
80 1 3
error_count()
S
80 1 3
add_message()
S
80 1 3
add_warning()
S
80 1 3
add_error()
S
80 1 3
clear_messages()
S
80 1 3
get_errors()
S
82 1 3